#include <iostream>
#include <stdio.h>

using namespace std;

int main ()
{
	int *p, *b, *d, *e, *f;
	
	//指针在声明后的默认值是什么？
	printf("%p %p %p %p %p\n", p, b, d, e, f);
	//printf("%d %d %d %d %d\n", *p, *b, *d, *e, *f);
	
	p = new int(0);
	printf("%p\n", p);
	//int * p = new int(0);
	cout << sizeof (p) << endl;
	cout << sizeof (*p) << endl;
	cout << *p << endl;
	if (0)
	{
		cout << endl;
	}
	for ( int i = 0; i < 100; i++ )
	{
		(*p)++;
	}
	cout << *p << endl;
	return 0;
}
